package com.ccb.sc.common.modules.order.vo;

import com.ccb.sc.common.enums.AuditStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author ken
 * @version 1.0
 * @date 2023/11/8 22:10
 */
@Data
@ApiModel("退款详情")
public class OrderRefundVo {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("退货退款ID")
    private Long orderReturnId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品规格名称")
    private String goodsSpec;

    @ApiModelProperty("商品图")
    private String picture;

    @ApiModelProperty("退货数量")
    private Integer quantity;

    @ApiModelProperty("订单id")
    private String orderId;

    @ApiModelProperty("退款金额")
    private BigDecimal payAmount;

    @ApiModelProperty("退款积分")
    private Integer points;

    @ApiModelProperty("退款阳光值")
    private BigDecimal walletAmount;

    @ApiModelProperty("申请理由")
    private String reason;

    @ApiModelProperty("用户备注")
    private String memo;

    @ApiModelProperty("后台备注")
    private String adminMemo;

    @ApiModelProperty("退款方式")
    private String paymentMethod;

    @ApiModelProperty("退款单号")
    private String tradeNo;

    @ApiModelProperty("申请时间")
    private LocalDateTime createTime;

    @ApiModelProperty("审核时间")
    private LocalDateTime modifyTime;

    @ApiModelProperty("审核状态：WAITAUDIT(1, \"未审核\"),AUDITED(2,\"申请通过\"),REFUSED(3,\"已拒绝\"),CANCELED(4,\"已取消\")")
    private AuditStatus status;
}
